<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<h3> {{$user['username']}} 的详细页面 </h3>

<table cellpadding="20">
    <tr>
        <td>头像</td>
        <td><img src="{{$user['headimg'][0]}}" width="50" height="50"></td>
    </tr>
    <tr>
        <td>所有照片</td>
        <td>
            @foreach($user['headimg'] as $img)
                <img src="{{$img}}" width="50" height="50">
            @endforeach
        </td>
    </tr>
    <tr>
        <td>姓名</td>
        <td>{{$user['username']}}</td>
    </tr>
    <tr>
        <td>年龄</td>
        <td>{{$user['age']}}</td>
    </tr>
    <tr>
        <td>地址</td>
        <td>{{$user['adds']}}</td>
    </tr>
</table>

<br>
<br>
<a href="/"> 返回首页 </a>
</body>
</html>
